<!doctype html>
<html>
  <head>
    <title>Upload</title>
    <link rel="stylesheet" href="/static/jquery.mobile-1.4.5.min.css">
    <script src="/static/jquery-1.8.3.min.js"></script>
    <script src="/static/jquery.mobile-1.4.5.min.js"></script>
    <meta charset="UTF-8">
  </head>
  <body>
    <div data-role="page" id="list-page">
      <div data-role="header">
        {% include 'header.html' %}
      </div>
      <div data-role="content">
        <h1>
          myDoc &gt; 
          <small>{{ cname }}</small>
        </h1>
        <ul data-role="listview">
          {% for i in fl %}
          <li><a href="#file-{{ i.id }}" data-transition="slide">{{ i.name }}</a></li>
          {% else %}
          <li><a href="/">暂时没有文件</a></li>
          {% endfor %}
        </ul>
        <br />
      </div>
      <div data-role="footer">
        <h1>An <a href="//shiyiquan.net/club/hcc-computer-community/">HCC</a> project</h1>
      </div>
    </div>
    {% for i in fl %}
      {% include 'view.html' %}
    {% endfor %}
  </body>
</html>

